/**
 * Loading Page
 */
.loading {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 400;
  background-color: #320000;

  .inner {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    border: 3px solid transparent;
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 2s linear infinite;

    .before {
      position: absolute;
      top: 5px;
      left: 5px;
      right: 5px;
      bottom: 5px;
      border: 3px solid transparent;
      border-radius: 50%;
      border-top-color: #e74c3c;
      animation: spin 3s linear infinite;
    }
    .after {
      position: absolute;
      top: 15px;
      left: 15px;
      right: 15px;
      bottom: 15px;
      border: 3px solid transparent;
      border-radius: 50%;
      border-top-color: #f9c922;
      animation: spin 1.5s linear infinite;
    }
  }
  .text {
    width: 100px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -30px 0 0 -50px;
    line-height: 60px;
    font-size: 30px;
    text-align: center;
    color: #eadcdb;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
